#ifndef __EEPROM_H
#define __EEPROM_H

#include "sys.h"

void at24_init(void);

uint8_t EEPROM_ReadOneByte(uint8_t addr);
void EEPROM_WriteOneByte(uint8_t addr, uint8_t data);
void EEPROM_Read(uint16_t addr, uint8_t* pData, uint16_t len);
void EEPROM_Write(uint16_t addr, uint8_t* pData, uint16_t len);

uint8_t at24_check(void);

#endif
